package com.wx.bootsecurity.mapper;

import com.wx.bootsecurity.entity.WxRolePermissionRelation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 后台用户角色和权限关系表 Mapper 接口
 * </p>
 *
 * @author 阿尔法哲
 * @since 2021-07-22
 */
public interface WxRolePermissionRelationMapper extends BaseMapper<WxRolePermissionRelation> {

    List<WxRolePermissionRelation> findByRoleIds(@Param("roleIds") List<Long> roleIds);

}
